package com.online.onlinestudent.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.online.onlinestudent.entity.Course;
import com.online.onlinestudent.entity.Teacher;

import java.util.List;

public interface CourseService extends IService<Course> {
    List<Course> fuzzyQueryByTitle(String title);
    List<Course> getCoursesByCategoryId(Long categoryId);

    List<Course> getCoursesByTeacherId(Long id);
}
